package com.ruoyi.db.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 短信模板对象 lq_sms_template_info
 * 
 * @author ruoyi
 * @date 2023-08-13
 */
public class SmsTemplateInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String name;

    /** 模板使用的配置ID */
    @Excel(name = "模板使用的配置ID")
    private Long configId;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private Long otype;

    /** 应用编号 */
    @Excel(name = "应用编号")
    private String appCode;

    /** 短信签名 */
    @Excel(name = "短信签名")
    private String smsSign;

    /** 短信平台模板ID */
    @Excel(name = "短信平台模板ID")
    private String templateId;

    /** 短信内容 */
    @Excel(name = "短信内容")
    private String templateContent;

    /** 状态（1 可用）（0 不可用） */
    @Excel(name = "状态", readConverterExp = "1=,可=用")
    private Long status;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setOtype(Long otype) 
    {
        this.otype = otype;
    }

    public Long getOtype() 
    {
        return otype;
    }
    public void setAppCode(String appCode) 
    {
        this.appCode = appCode;
    }

    public String getAppCode() 
    {
        return appCode;
    }
    public void setSmsSign(String smsSign) 
    {
        this.smsSign = smsSign;
    }

    public String getSmsSign() 
    {
        return smsSign;
    }
    public void setTemplateId(String templateId) 
    {
        this.templateId = templateId;
    }

    public String getTemplateId() 
    {
        return templateId;
    }
    public void setTemplateContent(String templateContent) 
    {
        this.templateContent = templateContent;
    }

    public String getTemplateContent() 
    {
        return templateContent;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("configId", getConfigId())
            .append("otype", getOtype())
            .append("appCode", getAppCode())
            .append("smsSign", getSmsSign())
            .append("templateId", getTemplateId())
            .append("templateContent", getTemplateContent())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
